package com.suncp.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author suncp
 * @date 2020/12/12 18:13
 */
@RestController
public class InterceptorTestController {

    @RequestMapping("/testInterceptor1")
    public String testInterceptor1(){
        System.out.println("进入了testInterceptor1方法...");
        return "Hello";
    }
}
